﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class approval_notify
    {
        /// <summary>
        /// 机器ID
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 业务ID 可能是报修ID也可能是生产审批ID
        /// </summary>
        public string bussiness_id { get; set; }
        /// <summary>
        /// 通知人
        /// </summary>
        public string uid { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime addtime { get; set; }
        /// <summary>
        /// 已通知次数
        /// </summary>

        public int alert_count { get; set; }
        /// <summary>
        /// 是否完结
        /// </summary>
        public bool is_end { get; set; }

        public notify_type notify_type { get; set; }
        public DateTime? last_notify_time { get; set; }
        public string send_content { get; set; }

        public string remark { get; set; }
    }
    public enum notify_type
    {
        报修审批 = 0,
        报修审核结果通知 = 1
    }
}
